<template>
  <div class="newlistmain">
      <div class="big">
      <div class="img">
          <img :src="this.$store.state.arr3.arrimg" alt="">
          <div class="logo">
              <div class="logo-img">
                  <img src="newList/logo.jpg" alt="">
                    <p><span>马蜂窝攻略组</span><br>
                        攻略号作者 
                    </p>
              </div>
              <div class="guan">关注</div>
          </div>
      </div>
      <div class="text">
            <div class="text-list" v-for="(v,i) in this.$store.state.arr3.arr" :key="i">
                <h2>{{v.title}}</h2>
                <p>
                    {{v.text}}
                </p>
                <img :src="v.img" alt="">
            </div>
      </div>
      </div>
  </div>
</template>
 
<script>
export default {

}
</script>

<style scoped>
    .newlistmain{
        width: 100%;
    }
    .img img{
        width: 100%;
    }
    .img{
        width: 100%;
        position: relative;
    }
    .logo{
        position: absolute;
        top: 0.2rem;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .logo img{
        width: .96rem;
        height: .96rem;
        position: relative;
        display: inline-block;
        overflow: hidden;
        border-radius: 50%;
        padding: 0 0.5rem;
    }
    .logo p{
        width: 3.6rem;
        color: #fff;
        font-size: 0.2rem;
        height: .96rem;
        margin-left: -0.28rem;
        margin-top: 0.1rem;
    }
    .logo p span{
        font-weight: bold;
        font-size: 0.35rem;
    }
    .guan{
        width: 1.2rem;
        height: 0.64rem;
        background-color: #ffdb26;
        color: #000;
        text-align: center;
        line-height: 0.64rem;
        border-radius: 0.32rem;
        font-weight: bold;
        margin-right: 0.4rem;
        margin-top: 0.2rem;
    }
    .guan::before{
        content: "+";
        display: inline-block;
    }
    .logo-img{
        display: flex;
    }
    .text{
        border-radius: 0.6rem 0 0 0;
        background-color: #fff;
        position: relative;
        top: -0.5rem;
        padding: 0.4rem;
    }
    .text h2{
        font-size: 0.5rem;
        margin-bottom: 0.3rem;
    }
    .text p{
        font-size: .38rem;
        font-family: PingFangSC-Light;
        font-weight: 300;
        color: #242629;
        line-height: .6rem;
    }
    .text img{
        width: 100%;
        margin: 0.3rem 0;
        border-radius: 0.2rem;
    }
    .big{
        width: 100%;
        height: auto;
    }
</style>